package com.ndky.reflect.package3;

/**
 * author: 核桃
 * 封装
 * date: 2023/9/28
 **/
public class PersonTest {
    public static void main(String[] args) {
        Person myObj = new Person();
        //myObj.name = "Kevin";
        //System.out.println(myObj.name);
        myObj.setName("Kevin");
        System.out.println(myObj.getName());
    }
}


//输出 Kevin